package com.ruoyi.truth.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信用报告对象 tru_report
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class TruReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信用报告ID */
    @Excel(name = "信用报告ID")
    private Long truId;

    /** 征信机构ID */
    @Excel(name = "征信机构ID")
    private Long creUserid;

    /** 企业ID */
    @Excel(name = "企业ID")
    private Long comUserid;

    /** 信用等级 */
    @Excel(name = "信用等级")
    private String truGrade;

    /** 信用分数 */
    @Excel(name = "信用分数")
    private BigDecimal truScore;

    /** 信用记录 */
    @Excel(name = "信用记录")
    private String truRecord;

    /** 风险程度 */
    @Excel(name = "风险程度")
    private String truExtent;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 哈希地址 */
    @Excel(name = "哈希地址")
    private String truHashaddr;


    private ComUser comUser;

    public ComUser getComUser() {
        return comUser;
    }

    public void setComUser(ComUser comUser) {
        this.comUser = comUser;
    }

    private CreUser creUser;

    public CreUser getCreUser() {
        return creUser;
    }

    public void setCreUser(CreUser creUser) {
        this.creUser = creUser;
    }

    public void setTruId(Long truId)
    {
        this.truId = truId;
    }

    public Long getTruId() 
    {
        return truId;
    }
    public void setCreUserid(Long creUserid) 
    {
        this.creUserid = creUserid;
    }

    public Long getCreUserid() 
    {
        return creUserid;
    }
    public void setComUserid(Long comUserid) 
    {
        this.comUserid = comUserid;
    }

    public Long getComUserid() 
    {
        return comUserid;
    }
    public void setTruGrade(String truGrade) 
    {
        this.truGrade = truGrade;
    }

    public String getTruGrade() 
    {
        return truGrade;
    }
    public void setTruScore(BigDecimal truScore) 
    {
        this.truScore = truScore;
    }

    public BigDecimal getTruScore() 
    {
        return truScore;
    }
    public void setTruRecord(String truRecord) 
    {
        this.truRecord = truRecord;
    }

    public String getTruRecord() 
    {
        return truRecord;
    }
    public void setTruExtent(String truExtent) 
    {
        this.truExtent = truExtent;
    }

    public String getTruExtent() 
    {
        return truExtent;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setTruHashaddr(String truHashaddr) 
    {
        this.truHashaddr = truHashaddr;
    }

    public String getTruHashaddr() 
    {
        return truHashaddr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("truId", getTruId())
            .append("creUserid", getCreUserid())
            .append("comUserid", getComUserid())
            .append("truGrade", getTruGrade())
            .append("truScore", getTruScore())
            .append("truRecord", getTruRecord())
            .append("truExtent", getTruExtent())
            .append("status", getStatus())
            .append("truHashaddr", getTruHashaddr())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
